using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace HRM.Models.Mapping
{
    public class tk_HDHocThuatMap : EntityTypeConfiguration<tk_HDHocThuat>
    {
        public tk_HDHocThuatMap()
        {
            // Primary Key
            this.HasKey(t => t.Id);

            // Properties
            this.Property(t => t.TenNV)
                .HasMaxLength(50);

            this.Property(t => t.MaDDKy)
                .HasMaxLength(50);

            this.Property(t => t.nckhaChutri)
                .HasMaxLength(50);

            this.Property(t => t.nckhaThamgia)
                .HasMaxLength(50);

            this.Property(t => t.nckhbChutri)
                .HasMaxLength(50);

            this.Property(t => t.nckhbThamgia)
                .HasMaxLength(50);

            this.Property(t => t.nckhcChutri)
                .HasMaxLength(50);

            this.Property(t => t.nckhcThamgia)
                .HasMaxLength(50);

            this.Property(t => t.nckhdChutri)
                .HasMaxLength(50);

            this.Property(t => t.nckhdThamgia)
                .HasMaxLength(50);

            this.Property(t => t.nckheChutri)
                .HasMaxLength(50);

            this.Property(t => t.nckheThamgia)
                .HasMaxLength(50);

            this.Property(t => t.hdsvSonhom)
                .HasMaxLength(50);

            this.Property(t => t.sttpTacpham)
                .HasMaxLength(50);

            this.Property(t => t.sckChubien)
                .HasMaxLength(50);

            this.Property(t => t.sckThamgia)
                .HasMaxLength(50);

            this.Property(t => t.gtmhChubien)
                .HasMaxLength(50);

            this.Property(t => t.gtmhThamgia)
                .HasMaxLength(50);

            this.Property(t => t.bdbgChubien)
                .HasMaxLength(50);

            this.Property(t => t.bdbgThamgia)
                .HasMaxLength(50);

            this.Property(t => t.tltkChubien)
                .HasMaxLength(50);

            this.Property(t => t.tltkThamgia)
                .HasMaxLength(50);

            this.Property(t => t.bdsChubien)
                .HasMaxLength(50);

            this.Property(t => t.bdsThamgia)
                .HasMaxLength(50);

            this.Property(t => t.tgxdChubien)
                .HasMaxLength(50);

            this.Property(t => t.tgxdThamgia)
                .HasMaxLength(50);

            this.Property(t => t.ctxdChubien)
                .HasMaxLength(50);

            this.Property(t => t.ctxdThamgia)
                .HasMaxLength(50);

            this.Property(t => t.vbdTapchiQuocte)
                .HasMaxLength(50);

            this.Property(t => t.vbdTapchitrongnuoc)
                .HasMaxLength(50);

            this.Property(t => t.vbdNoisantruong)
                .HasMaxLength(50);

            this.Property(t => t.tghtaBaocaovien)
                .HasMaxLength(50);

            this.Property(t => t.tghtaCobaiviet)
                .HasMaxLength(50);

            this.Property(t => t.tghtaThamdu)
                .HasMaxLength(50);

            this.Property(t => t.tghtbBaocaovien)
                .HasMaxLength(50);

            this.Property(t => t.tghtbCobaiviet)
                .HasMaxLength(50);

            this.Property(t => t.tghtbThamdu)
                .HasMaxLength(50);

            this.Property(t => t.tghtcBaocaovien)
                .HasMaxLength(50);

            this.Property(t => t.tghtcCobaiviet)
                .HasMaxLength(50);

            this.Property(t => t.tghtcThamdu)
                .HasMaxLength(50);

            this.Property(t => t.tghtdBaocaovien)
                .HasMaxLength(50);

            this.Property(t => t.tghtdCobaiviet)
                .HasMaxLength(50);

            this.Property(t => t.tghtdThamdu)
                .HasMaxLength(50);

            this.Property(t => t.tgtdhtChutri)
                .HasMaxLength(50);

            this.Property(t => t.tgtdhtBaocaovien)
                .HasMaxLength(50);

            this.Property(t => t.tgtdhtThamdu)
                .HasMaxLength(50);

            this.Property(t => t.hdkha1ChutichHD)
                .HasMaxLength(50);

            this.Property(t => t.hdkha1Phanbien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha1Thuky)
                .HasMaxLength(50);

            this.Property(t => t.hdkha1Uyvien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha2ChutichHD)
                .HasMaxLength(50);

            this.Property(t => t.hdkha2Phanbien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha2Thuky)
                .HasMaxLength(50);

            this.Property(t => t.hdkha2Uyvien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha3ChutichHD)
                .HasMaxLength(50);

            this.Property(t => t.hdkha3Phanbien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha3Thuky)
                .HasMaxLength(50);

            this.Property(t => t.hdkha3Uyvien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha4ChutichHD)
                .HasMaxLength(50);

            this.Property(t => t.hdkha4Phanbien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha4Thuky)
                .HasMaxLength(50);

            this.Property(t => t.hdkha4Uyvien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha5ChutichHD)
                .HasMaxLength(50);

            this.Property(t => t.hdkha5Phanbien)
                .HasMaxLength(50);

            this.Property(t => t.hdkha5Thuky)
                .HasMaxLength(50);

            this.Property(t => t.hdkha5Uyvien)
                .HasMaxLength(50);

            this.Property(t => t.hdtdChutichHD)
                .HasMaxLength(50);

            this.Property(t => t.hdtdPhanbien)
                .HasMaxLength(50);

            this.Property(t => t.hdtdThuky)
                .HasMaxLength(50);

            this.Property(t => t.hdtdUyvien)
                .HasMaxLength(50);

            this.Property(t => t.hdbvChutichHD)
                .HasMaxLength(50);

            this.Property(t => t.hdbvPhanbien)
                .HasMaxLength(50);

            this.Property(t => t.hdbvThuky)
                .HasMaxLength(50);

            this.Property(t => t.hdbvUyvien)
                .HasMaxLength(50);

            this.Property(t => t.tdtsKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.tdthsKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.nganngachKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.ngoainguKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.tinhocKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.nvspKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.llctKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.khnhKhoahoc)
                .HasMaxLength(50);

            this.Property(t => t.tdtsTgBD)
                .HasMaxLength(50);

            this.Property(t => t.tdthsTgBD)
                .HasMaxLength(50);

            this.Property(t => t.nganngachTgBD)
                .HasMaxLength(50);

            this.Property(t => t.ngoainguTgBD)
                .HasMaxLength(50);

            this.Property(t => t.tinhocTgBD)
                .HasMaxLength(50);

            this.Property(t => t.nvspTgBD)
                .HasMaxLength(50);

            this.Property(t => t.llctTgBD)
                .HasMaxLength(50);

            this.Property(t => t.khnhTgBD)
                .HasMaxLength(50);

            this.Property(t => t.tdtsTgKT)
                .HasMaxLength(50);

            this.Property(t => t.tdthsTgKT)
                .HasMaxLength(50);

            this.Property(t => t.nganngachTgKT)
                .HasMaxLength(50);

            this.Property(t => t.ngoainguTgKT)
                .HasMaxLength(50);

            this.Property(t => t.tinhocTgKT)
                .HasMaxLength(50);

            this.Property(t => t.nvspTgKT)
                .HasMaxLength(50);

            this.Property(t => t.llctTgKT)
                .HasMaxLength(50);

            this.Property(t => t.khnhTgKT)
                .HasMaxLength(50);

            this.Property(t => t.tdtsNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.tdthsNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.nganngachNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.ngoainguNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.tinhocNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.nvspNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.llctNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.khnhNoihoc)
                .HasMaxLength(50);

            this.Property(t => t.hdKhac)
                .HasMaxLength(500);

            // Table & Column Mappings
            this.ToTable("tk_HDHocThuat");
            this.Property(t => t.Id).HasColumnName("Id");
            this.Property(t => t.TenNV).HasColumnName("TenNV");
            this.Property(t => t.MaDDKy).HasColumnName("MaDDKy");
            this.Property(t => t.nckhaChutri).HasColumnName("nckhaChutri");
            this.Property(t => t.nckhaThamgia).HasColumnName("nckhaThamgia");
            this.Property(t => t.nckhbChutri).HasColumnName("nckhbChutri");
            this.Property(t => t.nckhbThamgia).HasColumnName("nckhbThamgia");
            this.Property(t => t.nckhcChutri).HasColumnName("nckhcChutri");
            this.Property(t => t.nckhcThamgia).HasColumnName("nckhcThamgia");
            this.Property(t => t.nckhdChutri).HasColumnName("nckhdChutri");
            this.Property(t => t.nckhdThamgia).HasColumnName("nckhdThamgia");
            this.Property(t => t.nckheChutri).HasColumnName("nckheChutri");
            this.Property(t => t.nckheThamgia).HasColumnName("nckheThamgia");
            this.Property(t => t.hdsvSonhom).HasColumnName("hdsvSonhom");
            this.Property(t => t.sttpTacpham).HasColumnName("sttpTacpham");
            this.Property(t => t.sckChubien).HasColumnName("sckChubien");
            this.Property(t => t.sckThamgia).HasColumnName("sckThamgia");
            this.Property(t => t.gtmhChubien).HasColumnName("gtmhChubien");
            this.Property(t => t.gtmhThamgia).HasColumnName("gtmhThamgia");
            this.Property(t => t.bdbgChubien).HasColumnName("bdbgChubien");
            this.Property(t => t.bdbgThamgia).HasColumnName("bdbgThamgia");
            this.Property(t => t.tltkChubien).HasColumnName("tltkChubien");
            this.Property(t => t.tltkThamgia).HasColumnName("tltkThamgia");
            this.Property(t => t.bdsChubien).HasColumnName("bdsChubien");
            this.Property(t => t.bdsThamgia).HasColumnName("bdsThamgia");
            this.Property(t => t.tgxdChubien).HasColumnName("tgxdChubien");
            this.Property(t => t.tgxdThamgia).HasColumnName("tgxdThamgia");
            this.Property(t => t.ctxdChubien).HasColumnName("ctxdChubien");
            this.Property(t => t.ctxdThamgia).HasColumnName("ctxdThamgia");
            this.Property(t => t.vbdTapchiQuocte).HasColumnName("vbdTapchiQuocte");
            this.Property(t => t.vbdTapchitrongnuoc).HasColumnName("vbdTapchitrongnuoc");
            this.Property(t => t.vbdNoisantruong).HasColumnName("vbdNoisantruong");
            this.Property(t => t.tghtaBaocaovien).HasColumnName("tghtaBaocaovien");
            this.Property(t => t.tghtaCobaiviet).HasColumnName("tghtaCobaiviet");
            this.Property(t => t.tghtaThamdu).HasColumnName("tghtaThamdu");
            this.Property(t => t.tghtbBaocaovien).HasColumnName("tghtbBaocaovien");
            this.Property(t => t.tghtbCobaiviet).HasColumnName("tghtbCobaiviet");
            this.Property(t => t.tghtbThamdu).HasColumnName("tghtbThamdu");
            this.Property(t => t.tghtcBaocaovien).HasColumnName("tghtcBaocaovien");
            this.Property(t => t.tghtcCobaiviet).HasColumnName("tghtcCobaiviet");
            this.Property(t => t.tghtcThamdu).HasColumnName("tghtcThamdu");
            this.Property(t => t.tghtdBaocaovien).HasColumnName("tghtdBaocaovien");
            this.Property(t => t.tghtdCobaiviet).HasColumnName("tghtdCobaiviet");
            this.Property(t => t.tghtdThamdu).HasColumnName("tghtdThamdu");
            this.Property(t => t.tgtdhtChutri).HasColumnName("tgtdhtChutri");
            this.Property(t => t.tgtdhtBaocaovien).HasColumnName("tgtdhtBaocaovien");
            this.Property(t => t.tgtdhtThamdu).HasColumnName("tgtdhtThamdu");
            this.Property(t => t.hdkha1ChutichHD).HasColumnName("hdkha1ChutichHD");
            this.Property(t => t.hdkha1Phanbien).HasColumnName("hdkha1Phanbien");
            this.Property(t => t.hdkha1Thuky).HasColumnName("hdkha1Thuky");
            this.Property(t => t.hdkha1Uyvien).HasColumnName("hdkha1Uyvien");
            this.Property(t => t.hdkha2ChutichHD).HasColumnName("hdkha2ChutichHD");
            this.Property(t => t.hdkha2Phanbien).HasColumnName("hdkha2Phanbien");
            this.Property(t => t.hdkha2Thuky).HasColumnName("hdkha2Thuky");
            this.Property(t => t.hdkha2Uyvien).HasColumnName("hdkha2Uyvien");
            this.Property(t => t.hdkha3ChutichHD).HasColumnName("hdkha3ChutichHD");
            this.Property(t => t.hdkha3Phanbien).HasColumnName("hdkha3Phanbien");
            this.Property(t => t.hdkha3Thuky).HasColumnName("hdkha3Thuky");
            this.Property(t => t.hdkha3Uyvien).HasColumnName("hdkha3Uyvien");
            this.Property(t => t.hdkha4ChutichHD).HasColumnName("hdkha4ChutichHD");
            this.Property(t => t.hdkha4Phanbien).HasColumnName("hdkha4Phanbien");
            this.Property(t => t.hdkha4Thuky).HasColumnName("hdkha4Thuky");
            this.Property(t => t.hdkha4Uyvien).HasColumnName("hdkha4Uyvien");
            this.Property(t => t.hdkha5ChutichHD).HasColumnName("hdkha5ChutichHD");
            this.Property(t => t.hdkha5Phanbien).HasColumnName("hdkha5Phanbien");
            this.Property(t => t.hdkha5Thuky).HasColumnName("hdkha5Thuky");
            this.Property(t => t.hdkha5Uyvien).HasColumnName("hdkha5Uyvien");
            this.Property(t => t.hdtdChutichHD).HasColumnName("hdtdChutichHD");
            this.Property(t => t.hdtdPhanbien).HasColumnName("hdtdPhanbien");
            this.Property(t => t.hdtdThuky).HasColumnName("hdtdThuky");
            this.Property(t => t.hdtdUyvien).HasColumnName("hdtdUyvien");
            this.Property(t => t.hdbvChutichHD).HasColumnName("hdbvChutichHD");
            this.Property(t => t.hdbvPhanbien).HasColumnName("hdbvPhanbien");
            this.Property(t => t.hdbvThuky).HasColumnName("hdbvThuky");
            this.Property(t => t.hdbvUyvien).HasColumnName("hdbvUyvien");
            this.Property(t => t.tdtsKhoahoc).HasColumnName("tdtsKhoahoc");
            this.Property(t => t.tdthsKhoahoc).HasColumnName("tdthsKhoahoc");
            this.Property(t => t.nganngachKhoahoc).HasColumnName("nganngachKhoahoc");
            this.Property(t => t.ngoainguKhoahoc).HasColumnName("ngoainguKhoahoc");
            this.Property(t => t.tinhocKhoahoc).HasColumnName("tinhocKhoahoc");
            this.Property(t => t.nvspKhoahoc).HasColumnName("nvspKhoahoc");
            this.Property(t => t.llctKhoahoc).HasColumnName("llctKhoahoc");
            this.Property(t => t.khnhKhoahoc).HasColumnName("khnhKhoahoc");
            this.Property(t => t.tdtsTgBD).HasColumnName("tdtsTgBD");
            this.Property(t => t.tdthsTgBD).HasColumnName("tdthsTgBD");
            this.Property(t => t.nganngachTgBD).HasColumnName("nganngachTgBD");
            this.Property(t => t.ngoainguTgBD).HasColumnName("ngoainguTgBD");
            this.Property(t => t.tinhocTgBD).HasColumnName("tinhocTgBD");
            this.Property(t => t.nvspTgBD).HasColumnName("nvspTgBD");
            this.Property(t => t.llctTgBD).HasColumnName("llctTgBD");
            this.Property(t => t.khnhTgBD).HasColumnName("khnhTgBD");
            this.Property(t => t.tdtsTgKT).HasColumnName("tdtsTgKT");
            this.Property(t => t.tdthsTgKT).HasColumnName("tdthsTgKT");
            this.Property(t => t.nganngachTgKT).HasColumnName("nganngachTgKT");
            this.Property(t => t.ngoainguTgKT).HasColumnName("ngoainguTgKT");
            this.Property(t => t.tinhocTgKT).HasColumnName("tinhocTgKT");
            this.Property(t => t.nvspTgKT).HasColumnName("nvspTgKT");
            this.Property(t => t.llctTgKT).HasColumnName("llctTgKT");
            this.Property(t => t.khnhTgKT).HasColumnName("khnhTgKT");
            this.Property(t => t.tdtsNoihoc).HasColumnName("tdtsNoihoc");
            this.Property(t => t.tdthsNoihoc).HasColumnName("tdthsNoihoc");
            this.Property(t => t.nganngachNoihoc).HasColumnName("nganngachNoihoc");
            this.Property(t => t.ngoainguNoihoc).HasColumnName("ngoainguNoihoc");
            this.Property(t => t.tinhocNoihoc).HasColumnName("tinhocNoihoc");
            this.Property(t => t.nvspNoihoc).HasColumnName("nvspNoihoc");
            this.Property(t => t.llctNoihoc).HasColumnName("llctNoihoc");
            this.Property(t => t.khnhNoihoc).HasColumnName("khnhNoihoc");
            this.Property(t => t.hdKhac).HasColumnName("hdKhac");
        }
    }
}
